package com.cloudbroker.bcs.platform.ltb.middle.entity;

import com.cloudbroker.bcs.common.entity.StatusUpdatable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by daibd19671 on 2016/12/7.
 */
@Table(name = "banner")
public class Banner extends StatusUpdatable {
    @Id
    protected Long id;
    @Column
    protected String title;
    @Column
    protected String url;
    @Column
    protected String image;
    @Column
    protected Integer level;
    @Column
    protected String company_id;
    @Column
    protected String sendercomp_id;
    @Column
    protected Long create_time;
    @Column
    protected Long update_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public String getSendercomp_id() {
        return sendercomp_id;
    }

    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }

    public Long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    @Override
    public Long getUpdate_time() {
        return update_time;
    }

    @Override
    public void setUpdate_time(Long update_time) {
        this.update_time = update_time;
    }
}
